package com.xinghou.platform.dao.mange.service.impl;
import javax.annotation.Resource;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;
import com.xinghou.platform.dao.mange.PhotoDAO;
import com.xinghou.platform.dao.mange.service.PhotoDAOService;
import com.xinghou.platform.model.main.Photo;
/**
 * 
 * @author wlw
 *
 */
@Service
public class PhotoDAOServiceImpl  implements PhotoDAOService{
	@Resource
	private PhotoDAO photoDAO;

	@Override
	public Photo photo(Integer id) throws DataAccessException {
			
	
		return photoDAO.photo(id);
	}

	

}
